package com.vlaearn.spring.aop.around.advice;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class OurLogic {
	public static void main(String args[]) {
		ApplicationContext factory = new ClassPathXmlApplicationContext("spring-aop-around-advice.xml");
		MyInterFace inter = (MyInterFace) factory.getBean("id3");
		inter.m1();
		
		//refer
		//http://www.java4s.com/spring/spring-aop-around-advice-example-with-complete-explanation/
	}
}
